package cn.gson.school.dao.jiaoxue;

import java.util.List;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import cn.gson.school.entity.jiaoxue.ZuoYeTitleEntity;

@Repository
public interface ZuoYeTitleDao extends CrudRepository<ZuoYeTitleEntity, Long> {

	List<ZuoYeTitleEntity> findByTitleId(Long id);
	List<ZuoYeTitleEntity> findByZuoyeId(Long id);
}
